package Classes.GameViews.ViewPanels
{
	import Classes.GameUtils.StyleManager;
	
	import flash.display.Sprite;
	import flash.system.ApplicationDomain;

	public class VP_BubbleUp extends ViewPanel
	{
		private var _interfaceUI:Sprite;
		public function VP_BubbleUp()
		{
			init();
		}
		
		private function init():void
		{
			this._interfaceUI=new (ApplicationDomain.currentDomain.getDefinition("BubbleUp_v") as Class);
			this.addChild(this._interfaceUI);
		}
		
		/**
		 * 设置冒泡文本 
		 * @param str
		 */		
		public function setPopTxts(str:String):void
		{
			this._interfaceUI["setPopTxt"](str);
		}
		

		public function get interfaceUI():Sprite
		{
			return _interfaceUI;
		}

	}
}